<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:U('AdminGuestbook/index')}">所有留言</a></li>
		</ul>
		<form method="post" class="js-ajax-form">
			<table class="table table-hover table-bordered">
				<thead>
					<tr>
						<th width="50">ID</th>
						<th width="100">手机号</th>
						<!--<th width="150">邮箱</th>-->
						<!--<th style="min-width: 60px;">留言标题</th>-->
						<th width="300">留言内容</th>
						<th width="120">留言时间</th>
						<th width="120">操作</th>
					</tr>
				</thead>
				<tbody>
					<foreach name="guestmsgs" item="vo">
					<tr>
						<td>{$vo.id}</td>
						<td>{$vo.mobile}</td>
						<!--<td>{$vo.email}</td>-->
						<!--<td>{$vo.title}</td>-->
						<td>{$vo.msg}</td>
						<td>{$vo.createtime|date='Y-m-d H:i:s',###}</td>
						<td>
							<a href="{:U('AdminGuestbook/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">删除</a>
						</td>
					</tr>
					</foreach>
				</tbody>
				<tfooter>
					<tr>
						<th width="50">ID</th>
						<th width="100">姓名</th>
						<!--<th width="150">邮箱</th>-->
						<!--<th style="min-width: 60px;">留言标题</th>-->
						<th width="300">留言内容</th>
						<th width="120">留言时间</th>
						<th width="120">操作</th>
					</tr>
				</tfooter>
			</table>
			<div class="pagination">{$page}</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js?"></script>
</body>
</html>